
#include "Message.h"

Message::Message(int sender, int receiver, std::string msg)
    : sender_(sender)
    , receiver_(receiver)
    , msg_(std::move(msg))
{

}

int Message::get_sender() const
{
  return sender_;
}

int Message::get_receiver() const
{
  return receiver_;
}

const std::string& Message::get_msg() const
{
  return msg_;
}
